package com.aptech.daos;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractCompany entity provides the base persistence definition of the
 * Company entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractCompany implements java.io.Serializable {

	// Fields

	private Integer companyId;
	private String companyName;
	private String description;
	private String address;
	private String phone;
	private String poster;
	private Set factories = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractCompany() {
	}

	/** minimal constructor */
	public AbstractCompany(Integer companyId, String companyName,
			String description, String address, String phone) {
		this.companyId = companyId;
		this.companyName = companyName;
		this.description = description;
		this.address = address;
		this.phone = phone;
	}

	/** full constructor */
	public AbstractCompany(Integer companyId, String companyName,
			String description, String address, String phone, String poster,
			Set factories) {
		this.companyId = companyId;
		this.companyName = companyName;
		this.description = description;
		this.address = address;
		this.phone = phone;
		this.poster = poster;
		this.factories = factories;
	}

	// Property accessors

	public Integer getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPoster() {
		return this.poster;
	}

	public void setPoster(String poster) {
		this.poster = poster;
	}

	public Set getFactories() {
		return this.factories;
	}

	public void setFactories(Set factories) {
		this.factories = factories;
	}

}